package com.ybg.bookmember.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("reservations")
public class Reservations {
    @TableId(type = IdType.AUTO)
    private Long resid;
    private Long bookid;
    private Long userid;
    private Date resdate;
    @TableLogic
    private Long deleted;
}
